// IConnectionService.aidl
package com.demo.aidlproject.aidl;

// Declare any non-default types here with import statements
import com.demo.aidlproject.ConnectionListener;
interface IConnectionService {
//oneway 不在阻塞主线程
       oneway void connect(ConnectionListener lister);
        void disconnect();
        boolean isConnected();
}